From 24ee2db6891ecf1747c7d0eefbba9b3db9ef7314 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 17 Jul 2015 18:00:51 +0100 Subject: [PATCH] xl: Command line: Support xl vcpu-set --help This ended with a literal sentinel. Use COMMON_LONG_OPTIONS (which mentions --help) instead. Signed-off-by: Ian Jackson Acked-by: Wei Liu Acked-by: Ian Campbell --- tools/libxl/xl_cmdimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 4c53f292ac..ce8280faad 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -5409,7 +5409,7 @@ int main_vcpuset(int argc, char **argv) { static struct option opts[] = { {"ignore-host", 0, 0, 'i'}, - {0, 0, 0, 0} + COMMON_LONG_OPTS }; int opt, check_host = 1; -- 2.30.2